import { post, get, fileDownload } from '@/utils/request/index';
import ApiUrl from '@/api/url';

export async function initializationImport(parms: any) {
  const rtn = (await post(ApiUrl.initializationImport, parms)) as any;
  return rtn.data;
}

// 查询对账初始化记录
export async function getInitRecord(parms: any) {
  const rtn = (await post(ApiUrl.getInitRecord, parms)) as any;
  return rtn.data;
}

// 导出对账初始化记录
export async function exportInitRecord(parms: any) {
  const rtn = (await fileDownload(ApiUrl.exportInitRecord, parms)) as any;
  return rtn.data;
}